<?php
/**
 * +--------------------------------------------------------+
 * @Created by PhpStorm.
 * @Category Role.php
 * @Depiction:
 * Author: hwy
 * Version: 1.0
 * Modified at: 2019/10/16  14:22
 * +--------------------------------------------------------+
 */

namespace App\Models;


use App\Exceptions\ResponseException;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Support\Facades\DB;
use Spatie\Permission\Models\Role as SpatieRole;


class Role extends SpatieRole
{
    protected $table = 'roles';
    /**
     * 可以被批量赋值的属性.
     *
     * @var array
     */
    protected $fillable = ['id','name','display_name','guard_name'];


}
